package com.tcm.item.mapper;


import com.tcm.item.domain.entity.DosageForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DosageFormMapper {
    int deleteById(Long id);

    int deleteLogicById(Long id);

    int insert(DosageForm record);

    DosageForm findById(Long id);

    List<Long> checkNameExists(@Param("name") String name, @Param("id") Long id);

    int update(DosageForm record);

    List<DosageForm> findDosageFormList();

}